module.exports = params => {
  return {
    code: 0,
    msg: '',
    data: {
      main: {
        signup_uv: 147235, // 累计注册人数
        credit_venture_quota: 562450200000, // 累计授信金额
        credit_venture_pass_pv: 36762, // 累计授信人次
        credit_venture_pass_uv: 25192, // 累计授信人数
        loan_success_amount: 113967048900, // 累计放款金额
        loan_success_pv: 6506, // 累计放款人次
        loan_success_uv: 35841, // 累计放款人数
        paid_principal: 85337401, // 累计已还本金
        loan_repay_uv: 40416, // 在贷人数
        month_signup_uv: 736 // 当月注册人数
      },
      today: {
        // 今日数据
        credit_venture_submit_uv: 997, // 申请人数
        credit_venture_pass_uv: 632, // 授信人数
        loan_success_uv: 633, // 放款人数
        first_loan_success_uv: 625, // 首贷用户
        credit_venture_quota: 48796026, // 授信金额
        loan_success_amount: 42620334, // 放款金额
        first_loan_success_amount: 4229999 // 首贷金额
      },
      distribute: {
        // 数据分布
        loan_age: {
          // 年龄分布
          '0': 0.31,
          '30': 0.24,
          '40': 0.26,
          '50': 0.19
        },
        loan_amount: {
          // 借款金额分布
          '0': 0.02,
          '1': 0.06,
          '3': 0.13,
          '5': 0.46,
          '10': 0.33
        },
        loan_day_rate: {
          // 利率分布
          '0': 0.12,
          '2': 0.09,
          '3': 0.14,
          '4': 0.12,
          '5': 0.53
        }
      },
      map: [
        // 地图
        {
          name: '广东',
          venture_submit_uv: 4699, // 申请用户人数
          venture_submit_uv_percent: 0.13, // 申请用户百分比
          venture_pass_uv: 9048, // 授信用户人数
          venture_pass_uv_percent: 0.24, // 授信用户百分比
          loan_success_uv: 8008, // 放款用户人数
          loan_success_uv_percent: 0.19, // 放款用户百分比
          loan_repay_uv: 5690, // 在贷用户人数
          loan_repay_uv_percent: 0.14 // 在贷用户百分比
        },
        {
          name: '江苏',
          venture_submit_uv: 2790,
          venture_submit_uv_percent: 0.08,
          venture_pass_uv: 3135,
          venture_pass_uv_percent: 0.08,
          loan_success_uv: 4976,
          loan_success_uv_percent: 0.12,
          loan_repay_uv: 8708,
          loan_repay_uv_percent: 0.22
        },
        {
          name: '吉林',
          venture_submit_uv: 7576,
          venture_submit_uv_percent: 0.21,
          venture_pass_uv: 2771,
          venture_pass_uv_percent: 0.07,
          loan_success_uv: 7394,
          loan_success_uv_percent: 0.18,
          loan_repay_uv: 7670,
          loan_repay_uv_percent: 0.2
        }
      ],
      feed: [
        // 动态
        {
          type: 'loan',
          name: '张*',
          age: 34,
          province: '四川省',
          content: '放款成功',
          amount: 1000000,
          time: '22:00'
        },
        {
          type: 'loan',
          name: '张*',
          age: 34,
          province: '四川省',
          content: '放款成功',
          amount: 1000000,
          time: '21:57'
        },
        {
          type: 'loan',
          name: '张*',
          age: 34,
          province: '四川省',
          content: '放款成功',
          amount: 1000000,
          time: '21:44'
        },
        {
          type: 'loan',
          name: '张*',
          age: 34,
          province: '四川省',
          content: '放款成功',
          amount: 1000000,
          time: '21:38'
        },
        {
          type: 'loan',
          name: '张*',
          age: 34,
          province: '四川省',
          content: '放款成功',
          amount: 1000000,
          time: '21:36'
        },
        {
          type: 'loan',
          name: '张*',
          age: 34,
          province: '四川省',
          content: '放款成功',
          amount: 1000000,
          time: '21:04'
        },
        {
          type: 'loan',
          name: '张*',
          age: 34,
          province: '四川省',
          content: '放款成功',
          amount: 1000000,
          time: '20:54'
        },
        {
          type: 'loan',
          name: '张*',
          age: 34,
          province: '四川省',
          content: '放款成功',
          amount: 1000000,
          time: '20:44'
        },
        {
          type: 'creditVenture',
          name: '桂**',
          age: 38,
          province: '宁夏回族自治区',
          content: '授信成功',
          amount: 371428,
          time: '19:36'
        },
        {
          type: 'loan',
          name: '和*',
          age: 47,
          province: '四川省',
          content: '授信成功',
          amount: 26757,
          time: '01:56'
        },
        {
          type: 'creditVenture',
          name: '范*',
          age: 29,
          province: '贵州省',
          content: '授信成功',
          amount: 401949,
          time: '19:48'
        },
        {
          type: 'loan',
          name: '熊*',
          age: 19,
          province: '台湾省',
          content: '授信成功',
          amount: 790879,
          time: '09:27'
        },
        {
          type: 'loan',
          name: '邵*',
          age: 32,
          province: '广西壮族自治区',
          content: '授信成功',
          amount: 350040,
          time: '01:27'
        },
        {
          type: 'creditVenture',
          name: '翟**',
          age: 51,
          province: '内蒙古自治区',
          content: '授信成功',
          amount: 216531,
          time: '13:28'
        },
        {
          type: 'loan',
          name: '薄*',
          age: 44,
          province: '台湾省',
          content: '授信成功',
          amount: 942783,
          time: '09:08'
        },
        {
          type: 'loan',
          name: '廉**',
          age: 23,
          province: '重庆市',
          content: '授信成功',
          amount: 79797,
          time: '20:35'
        },
        {
          type: 'loan',
          name: '畅*',
          age: 54,
          province: '湖北省',
          content: '授信成功',
          amount: 745157,
          time: '09:53'
        },
        {
          type: 'loan',
          name: '张**',
          age: 47,
          province: '海南省',
          content: '授信成功',
          amount: 784210,
          time: '07:39'
        },
        {
          type: 'creditVenture',
          name: '甘*',
          age: 48,
          province: '新疆维吾尔自治区',
          content: '授信成功',
          amount: 659949,
          time: '21:54'
        },
        {
          type: 'creditVenture',
          name: '褚*',
          age: 59,
          province: '山西省',
          content: '授信成功',
          amount: 667344,
          time: '20:51'
        }
      ]
    }
  }
}
